package com.tiancan.design.user.service.impl;

import com.tiancan.design.user.service.CreateTokenService;
import org.springframework.stereotype.Service;

import java.util.UUID;

/** @author tiancan */
@Service
public class UUIDTokenServiceImpl implements CreateTokenService {
  @Override
  public String getToken(String key) {
    return UUID.randomUUID().toString();
  }
}
